package bpmn.structure;

import java.util.ArrayList;

public class Lane extends BPMNElem
{
    //    private ArrayList<FlowNodeRef> refs;
    private final ArrayList<String> refs;
    private String name;

    {
        this.type = BPMNElemType.Lane;
    }

    public Lane(String id)
    {
        super(id);
        refs = new ArrayList<>();
    }

    public ArrayList<String> getRefs()
    {
        return refs;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void addRef(String ref)
    {
        refs.add(ref);
    }
}
